package com.gxan.dao;

import com.gxan.common.LayuiRepResult;
import com.gxan.entity.Dep;
import com.gxan.entity.DepS;
import com.gxan.entity.PayList;
import com.gxan.entity.Register;

import java.sql.SQLException;
import java.util.List;

public interface SalaryManagementDao {


    List<PayList> findAll(Integer offset, Integer rows) throws SQLException;
    Integer countPayList() throws SQLException;
    Integer addRoll(Dep dep) throws SQLException;
    Integer delRoll(String id) throws SQLException;
    Integer editRoll(PayList payList) throws SQLException;
    Integer batchdelRoll(String[] ids) throws SQLException;
    List findDepartment() throws SQLException;
    List<DepS> findAllDeps(Integer offset, Integer rows) throws SQLException;
    Integer countDepsList() throws SQLException;
    List<DepS> search(String depsName) throws SQLException;
    List<Register> findAlregisterl(String dep) throws SQLException;

}
